package com.moyu.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {

  /**
   * 主页 homepage
   * @return
   */
  @RequestMapping("/")
  public String homepage(){
    return "index";
  }

  /**
   * 主页内容
   * @return
   */
  @RequestMapping("/index")
  public String index(){
    return "common/main";
  }


}
